<div class="login-box">
  <div *ngIf="!authService.isLoggedIn">
    <h1>用户个人中心登录</h1>
      <div class="name">
        <label>账号：</label>
        <input type="text" [(ngModel)]="account.code" placeholder="账号" tabindex="1" autocomplete="on">
      </div>
      <div class="password">
        <label>密  码：</label>
        <input type="password" [(ngModel)]="account.password" placeholder="密码" maxlength="16"  tabindex="2">
      </div>
      <!--<div class="remember">-->
        <!--<input type="checkbox" id="remember" tabindex="4">-->
        <!--<label>记住密码</label>-->
      <!--</div>-->
      <div class="login">
        <!--<button type="submit" tabindex="5">登录</button>-->
        <button class="bt-1" (click)="companyLogin()">企业登陆</button>
        <button class="bt-1" (click)="talentLogin()">求职者登陆</button>
      </div>
      <div class="findPass">
        <a class="bt-2" (click)="findPasswordInCompany()">企业密码找回</a>
        <a class="bt-2" (click)="findPasswordInTalent()">求职者密码找回</a>

      </div>
  </div>
  <div *ngIf="authService.isLoggedIn">
    <p>{{message}}</p>
    <button class="bt-3" (click)="logout()" >Logout</button>
  </div>
</div>
<div class="screenbg">
  <ul>
    <li style="opacity: 0; visibility: visible;"><a href="javascript:;"><img src="/assets/images/0.jpg" style="width: 1903px;"></a></li>
    <li style="opacity: 0; visibility: visible;"><a href="javascript:;"><img src="/assets/images/1.jpg" style="width: 1903px;"></a></li>
    <li style="opacity: 1; visibility: visible;"><a href="javascript:;"><img src="/assets/images/2.jpg" style="width: 1903px;"></a></li>
  </ul>
</div>
